using System;
using System.Collections.Generic;
using System.Text;

namespace Sedna.Core.Controller.Configurations
{
    public class TimePickerConfiguration : ClientScriptingConfiguration, ITimePickerConfiguration
    {
        private bool showHours = true;
        private bool showMinutes = true;
        private bool showSeconds;

        private bool use24HourTimeScale;

        private bool useCaps;

        private bool useTimePartSeparator;

        private bool allowEmptyTime;

        private string padHourByChar;


        # region ITimePickerConfiguration

        public bool ShowHours
        {
            get { return showHours; }
            set { showHours = value; }
        }

        public bool ShowMinutes
        {
            get { return showMinutes; }
            set { showMinutes = value; }
        }

        public bool ShowSeconds
        {
            get { return showSeconds; }
            set { showSeconds = value; }
        }

        public bool Use24HourTimeScale
        {
            get { return use24HourTimeScale; }
            set { use24HourTimeScale = value; }
        }

        public bool UseCaps
        {
            get { return useCaps; }
            set { useCaps = value; }
        }

        public bool UseTimePartSeparator
        {
            get { return useTimePartSeparator; }
            set { useTimePartSeparator = value; }
        }

        public bool AllowEmptyTime
        {
            get { return allowEmptyTime; }
            set { allowEmptyTime = value; }
        }

        public string PadHourByChar
        {
            get { return padHourByChar; }
            set { padHourByChar = value; }
        }

        # endregion
    }
}

